// pages/traffic/traffic.js
import { _t } from '../../i18n/base'

Page({
  data: {

  },
  onLoad: function (options) {
    this.setData({
      lang: _t(),
    })
    wx.setNavigationBarTitle({
      title: this.data.lang['跨境交通']
    })
  },
  onClickLeft() {
    wx.navigateBack({
      delta: 0,
    })
  },
  toBus() {
    wx.navigateTo({
      url: '/pages/check/checkBus/checkBus',
    })
  },
  toFlight() {
    wx.navigateTo({
      url: '/pages/check/checkFlight/checkFlight',
    })
  },
  toPort() {
    wx.navigateTo({
      url: '/pages/check/checkPort/checkPort',
    })
  },
  toRailWay() {
    wx.navigateTo({
      url: '/pages/check/checkRailway/checkRailway',
    })
  },
  toShip() {
    wx.navigateTo({
      url: '/pages/check/checkShip/checkShip',
    })
  }
})